function [re_conv] = conv32_32(in1,in2)

size1 = length(in1);
size2 = length(in2);

length1 = min(size1,32);
length2 = min(size2,32);

tempArray1 = zeros(1,32);
tempArray2 = zeros(1,32);

tempArray1(1:length1) = in1(1:length1);
tempArray2(1:length2) = in2(1:length2);

tempMatrix = zeros(64,32);

for i1 = 1:32
    for i2 = 1:32
        tempMatrix(i1+i2-1,i1) = tempArray1(i1)*tempArray2(i2);
    end
end
re_conv = zeros(1,64);
for ir = 1:63
    re_conv(ir) = sum(tempMatrix(ir,:));
end

end